//controlls
define(function (require, exports, module) {
    const Vue=require("vue");
    var template=require('text!./index.html');

    module.exports=Vue.extend({
        template:template,
        data:function () {
            return {
            }
        },
        created:function () {

        },
        computed:{
            isBack:function () {
                return this.$store.getters.getIsBack;
            },
            user_info:function () {
                return this.$store.getters.getUserInfo;
            }
        },
        beforeRouteEnter:function (to,from,next) {
            next(function (vm) {
                if(!vm.isBack){

                }
            })
        },
        methods:{

        },
        filters:{
            score:function (val) {
                val=parseInt(val);
                if(val>=0)
                    return "+"+val;
                return val;
            }
        }
    });
});